﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Framework
{
    public interface ISql
    {
        IEnumerable<TEntity> SqlQuery<TEntity>(string sql);
        IEnumerable<TEntity> SqlQuery<TEntity>(string sql, params object[] parameters);
        int ExecuteSqlCommand(string sql, params object[] parameters);
    }
}
